<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style>
    .wraper {
      width: 300px;
      height: 300px;
      background: red;
    }

    .box {
      width: 200px;
      height: 200px;
      background: green;
    }
  </style>
</head>
<body>
<div class="wraper">
  <div class="box"></div>
</div>
<script>
  var wraper = document.getElementsByClassName('wraper')[0];
  var box = document.getElementsByClassName('box')[0];
  wraper.addEventListener('click', function (e) {
    console.log('wraper');
  }, false);
  box.addEventListener('click',function(e){
    console.log('box');
    stopBubule(e)
  },false);
  function stopBubule(e) {
    if (e.stopPropagation) {
      e.stopPropagation();
    } else if (e.cancelBubble) {
      e.cancelBubble = false
    }
  }
</script>
</body>
</html>